<?php
/**
 * User: fu
 * Date: 12-3-22
 * Time: 上午11:16
 */
?>
<ul>
    <?php
    foreach ($datar as $val) {
        printf('<li><a href="%s">%s</a></li>',$val['url'],$val['tit']);
    }

    ?>
</ul>